The Slider Component > FSlider.setSize() |
FSlider.setSize()
Availability
Flash Player 6.
Usage
mySlider_sld.setSize (width)
Parameters
width A number specifying the width of the component in pixels.
Returns
Nothing
Description
Sets the width in pixels of the slider.
Example
The slider_setSize.fla example file contains an example of using this method.
The following code sets the size of the slider to 300.
mySlider_sld.setSize(300);